  -- Aeonus --
function spell0_17881(pUnit, Event) --@Banish Dragon Helper,n/a--
pUnit:FullCastSpellOnTarget(31550,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17881', 814, 1)
end
function spell1_17881(pUnit, Event) --@Cleave,n/a--
pUnit:FullCastSpellOnTarget(40504,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17881', 757, 1)
end
function spell2_17881(pUnit, Event) --@Corrupt Medivh,n/a--
pUnit:FullCastSpellOnTarget(37853,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17881', 0, 1)
end
function spell3_17881(pUnit, Event) --@Enrage,n/a--
pUnit:FullCastSpellOnTarget(37605,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17881', 8398, 1)
end
function spell4_17881(pUnit, Event) --@Sand Breath,n/a--
pUnit:FullCastSpellOnTarget(31473,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17881', 12000, 1)
end
function spell5_17881(pUnit, Event) --@Sand Breath,n/a--
pUnit:FullCastSpellOnTarget(39049,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17881', 12000, 1)
end
function spell6_17881(pUnit, Event) --@Time Stop,n/a--
pUnit:FullCastSpellOnTarget(31422,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17881', 4429, 1)
end
function Sorts_17881(pUnit, Event)
choix_sorts_17881 = math.random(0, 6)
if choix_sorts_17881 == 0 then
pUnit:RegisterEvent('spell0_17881', 1, 1)
end
if choix_sorts_17881 == 1 then
pUnit:RegisterEvent('spell1_17881', 1, 1)
end
if choix_sorts_17881 == 2 then
pUnit:RegisterEvent('spell2_17881', 1, 1)
end
if choix_sorts_17881 == 3 then
pUnit:RegisterEvent('spell3_17881', 1, 1)
end
if choix_sorts_17881 == 4 then
pUnit:RegisterEvent('spell4_17881', 1, 1)
end
if choix_sorts_17881 == 5 then
pUnit:RegisterEvent('spell5_17881', 1, 1)
end
if choix_sorts_17881 == 6 then
pUnit:RegisterEvent('spell6_17881', 1, 1)
end
end
function mob17881_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_17881', math.random(1500, 3000), 1)
end
function mob17881_Leave(pUnit, Event)
end
function mob17881_Kill(pUnit, Event)
end
function mob17881_Die(pUnit, Event)
pUnit:RemoveEvents();
end
RegisterUnitEvent(17881, 1, 'mob17881_Action')
RegisterUnitEvent(17881, 2, 'mob17881_Leave')
RegisterUnitEvent(17881, 3, 'mob17881_Kill')
RegisterUnitEvent(17881, 4, 'mob17881_Die')
